﻿#pragma once

#include "SmQuestGlobals.h"

USmQuestGlobals::USmQuestGlobals()
{
}

UDataTable* USmQuestGlobals::GetQuestTable()
{
	if (QuestTable == nullptr && QuestTablePath.IsValid())
	{
		QuestTable = LoadObject<UDataTable>(nullptr, *QuestTablePath.ToString(), nullptr, LOAD_None, nullptr);
	}

	return QuestTable;
}
